package com.sbs.gaoxinqutoilet.http;

/**
 * Created by 聪明一只哈 on 2018/6/7.
 * Time: 2018/6/7  16:20
 */

public interface HttpApis {

    //ipF  高经理本地调试地址
    //String IP="http://192.168.9.86:8086";
    //ipG  正式线上地址
    //String IP="http://219.148.34.40:18881";
    //ipH  新的 正式线上地址
    String IP="http://222.222.33.226:6117";

    /*
    * 测试账号
    *  18031262846 abc
    *  15231167873 abc
    *
    * */



    //=====登录页面

    //登录接口  http://192.168.70.188:8080/rest/sys/login
    String login = IP+"/rest/sys/login";

    //校验token
    String check_token = IP+"/rest/api/verifyToken?token=";

    //=====主页
    //=====主页图片数据
    String mian_news_img=IP+"/rest/handle/list/news_shouji_toppic?idfield=news_id";
    //=====主页新闻内容数据
    String mian_news=IP+"/rest/handle/list/news_shouji?idfield=news_id";
    //=====主页新闻公告数据
    //String mian_news_gonggao=IP+"/rest/handle/list/news_shouji_toppic?idfield=news_id";
    String mian_news_gonggao=IP+"/rest/handle/list/notice_shouji?idfield=nt_id";




    //=====主页列表
    //主页列表接口  http://192.168.70.188:8080/rest/sys/initMenu
    //String home_fragment = IP+"rest/sys/initMenu";
    //initAppMenu
    String home_fragment = IP+"/rest/api/initAppMenu";


    //=====档案模块  /rest/api/view/news/id
    //http://192.168.70.188:8080/rest/api/view/{type}/{idvalue}
    //户厕改造登记 获得详情页数据
    //String file_detile_head="http://192.168.70.188:8080/rest/api/view/";
   // String file_detile_head=IP+"/rest/api/view/";
    String file_detile_head=IP+"/rest/api/view/gzda/";

    //户厕改造登记  提交按钮
    //String file_detile_update_head="http://192.168.70.188:8080/rest/handle/update/";
    //String file_detile_update_head=IP+"/rest/handle/update/";id=a214546313
    String file_detile_update_head=IP+"/rest/api/update/gzda/";

    //档案列表接口http://192.168.70.188:8080/rest/handle/list/gzda?idfield=gaizao_id
    //String build_file_item = IP+"/rest/handle/list/gzda?idfield=gaizao_id";
    String build_file_item = IP+"/rest/handle/list/gzda_shouji?idfield=gaizao_id";


    //档案详情获取图片数据
    String build_image_data=IP+"/rest/select/adj_sel";


    //户厕改造登记  上传图片http://192.168.70.188:8080/rest/adj/uploadeditor/1
   // String upload_image=IP+"/rest/adj/uploadeditor/1";
    String upload_image=IP+"/rest/adj/upload";

    //=====新增模块

    //新增页面  获取县/村级列表  http://192.168.70.188:8080/rest/select/area_sel/1301/3
    String addnew_info=IP+"/rest/select/area_sel/";

    //新增页面 /rest/select/gaizao_type_sel 前三种状态

    String addnew_fontThree=IP+"/rest/select/gaizao_type_sel";

    //新增页面  /rest/select/attrs/2?rem=nigaizao   获取改造类型数据    第四种改造状态

    String addnew_last=IP+"/rest/select/attrs/2?rem=nigaizao";


    //新增页面  化粪池材料

    String addnew_huafenchi=IP+"/rest/select/attrs/7";

    //新增页面  便池类型

    String addnew_banchitype=IP+"/rest/select/attrs/8";

    //新增页面  冲水方式

    String addnew_chongshui=IP+"/rest/select/attrs/9";


    //新增页面  厕房类型

    String addnew_cefang=IP+"/rest/select/attrs/11";

    //新增页面  /rest/select/shgd_sel?area_id=xiang_area_i(村)   施工队

    String addnew_teamdata=IP+"/rest/select/shgd_sel?area_id=";


    //新增页面  /rest/util/hubianhao参数：area_id 值：选择的村地区ID
    String addnew_hubianhao=IP+"/rest/util/hubianhao";


    //新增页面校验门牌号   /rest/util/exists/exists_menpaihao_other/' + 输入的门牌号
    String addnew_jiaoyanmenph=IP+"/rest/util/exists/exists_menpaihao_other/";


    //新增页面 http://192.168.70.188:8080/rest/handle/save/{type} 保存按钮

   // String addnew_save=IP+"/rest/handle/save/gzda";
    String addnew_save=IP+"/rest/api/save/gzda";


    //=====验收模块
    //验收列表
    String acception_item=IP+"/rest/handle/list/gzys_shouji?idfield=yanshou_id";
    //String acception_item=IP+"/rest/handle/list/gzys?idfield=yanshou_id";
    //String acception_item=IP+"/rest/handle/list/gzys_shouji?idfield=yanshou_id";
    //String acception_item=IP+"/rest/handle/list/gzys?idfield=gaizao_id";
    //String acception_item=IP+"/rest/handle/tolist/gzys?idfield=yanshou_id";

    //验收详情编辑
    String acceptDetial_edit=IP+"/rest/api/view/gzys/";

    //验收详情编辑页面,获取图片的接口  //rest/select/adj_sel/mid=

    String acceptDetial_image=IP+"/rest/select/adj_sel";

    //验收详情编辑页保存提交数据  '/restlect/'+type+'?selected='+selected+param

    //String acceptDetial_saveUp=IP+"/rest/handle/update/gzys/";
    String acceptDetial_saveUp=IP+"/rest/api/update/gzys/";
    //String acceptDetial_saveUp=IP+"/rest/select/gzys";

    //验收详情编辑页  验收人

    String acceptDetial_accepter=IP+"/rest/select/opt_sel?duty_id=yanshou";
    //String acceptDetial_accepter=IP+"/opt_sel";



    //=====检查模块

    //检查列表
    String checkDetial_item=IP+"/rest/handle/list/jdjc?idfield=jiancha_id";
    //String mCheck_url = "http://192.168.70.188:8080/rest/handle/tolist/jdjc?idfield=401";
    //String mCheck_url = "http://192.168.70.188:8080/rest/handle/tolist/jdjc?idfield=jiancha_id";


    //检查编辑详情  1
    String checkDetial_edit=IP+"/rest/api/view/jdjc/";

    //检查编辑详情  2  http://192.168.70.60:8080/rest/api/view/gzys/+id,
    String checkDetial_edit_accept=IP+"/rest/api/view/jdjc/";

    //检查详情编辑 验收人

    //String checkDetial_accepter=IP+"/rest/select/opt_sel?duty_id=jiancha";
    String checkDetial_accepter=IP+"/rest/select/group_sel";

    //检查详情编辑页 更新与提交
    //String checkDetialSaveUp=IP+"/rest/handle/update/jdjc/";
    String checkDetialSaveUp=IP+"/rest/api/update/jdjc/";


    //=====重建模块


    //重建条目
    //String rebuildDetial_item=IP+"/rest/handle/list/chongjian?idfield=chongjian_id";
        //这个事正确的接口,可以显示已重建和未重建两种状态,但还没发布到60.63的服务器上,先用上面那个
    String rebuildDetial_item=IP+"/rest/handle/list/chongjian_shouji?idfield=chongjian_id";

    //重建编辑详情

    String rebuildDetial_Data=IP+"/rest/api/view/chongjian/";

    //重建详情 图片数据
    String rebuildtDetial_image=IP+"/rest/select/adj_sel";

    //重建提交数据
    //String rebuildDetialSaveUp=IP+"/rest/handle/update/chongjian/";
    String rebuildDetialSaveUp=IP+"/rest/api/update/chongjian/";



    //假的
    /**
     * 获取版本号  http://192.168.60.201:8080/yzd4.0/app_getVersion
     */
    String GETVERINFO = IP + "/app_getVersion";
    //String GETVERINFO = "http://192.168.9.99:8080/update/version.json";
    /**
     * 更新apk   http://192.168.9.99:8080
     */
    String DOWN_UPDATE = IP + "/update/app-release.apk";
    //String DOWN_UPDATE = "http://192.168.9.99:8080/update/app-release.apk";



    //======施工记录信息采集

    //采集列表
    //String buildinfoitem=IP+"/rest/handle/list/shgjilu_shouji?idfield=shgjilu_id";
    String buildinfoitem=IP+"/rest/handle/list/shgjilu?idfield=shgjilu_id";

    //采集详情页面
    String buildinfodetial=IP+"/rest/api/view/shgjilu/";

    //施工信息详情提交
    String buildinfoDetial_saveUp=IP+"/rest/handle/update/shgjilu/";



    //获得小组成员
    String xiaozu=IP+"/rest/util/groupMembers";//  groupIds=


    //======统计

    //统计列表数据/rest/handle/tolist/gctongji?idfield=area_id
    String tongjiDate=IP+"/rest/handle/list/gctongji?idfield=area_id";//  ?idfield=area_id
    //String tongjiDate=IP+"/rest/handle/list/niandu?idfield=area_id";//  ?idfield=area_id

    //统计列表数据   县级需要查询到村，单独接口
    String tongjiXianDate=IP+"/rest/handle/list/gctongji_xianquery?idfield=area_id";//  ?idfield=area_id

    //======新闻内容
    String newContent_detial=IP+"/rest/handle/view-read/news/";
    String gonggao_detial=IP+"/rest/handle/view-read/notice_shouji/";

    //======退出登录
    String logOut=IP+"/rest/sys/logoutshouji";
}
